package com.wm.service;

import com.wm.bean.User;
import com.wm.service.web.PageList;
import com.wm.service.web.Pages;

/**
 * @author yangbo
 *
 * 2013-1-4
 */
public interface UserService {

	public User saveUser(User u);
	
	public User findUserByUserName(String userName);
	
	public User findUserByUserNameUserPwd(String userName,String userPwd);
	
	public User updateUser(User u);
	
	public User findUserById(long id);
	
	public PageList findUsersByUserNameValidIsShow(String userName,int valid,int isShow,String orderby,int ascOrDesc,Pages pages);
}
